package com.framework.buss.bridge.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.framework.core.mybatis.config.AutoField;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("buss_bridge_template_file")
@ApiModel(value="buss_bridge_template_file", description="桥梁模板文件表")
public class BridgeTemplateFile implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    @AutoField("varchar(32) default '' COMMENT '主键'")
    private String id;

    @AutoField("varchar(100) default '' COMMENT '文件路径'")
    private String filePath;

    @AutoField("varchar(32) default '' COMMENT '桥梁主键id'")
    private String bridgeId;
}
